﻿<SettingsFlyout
    x:Class="LiveConnectExample.AccountSettingsFlyout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:LiveConnectExample"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    IconSource="Assets/SmallLogo.png"
    Title="Account"
    d:DesignWidth="346">

    <!-- This StackPanel acts as a root panel for vertical layout of the content sections -->
    <StackPanel VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
        <StackPanel Style="{StaticResource SettingsFlyoutSectionStyle}">
            <TextBlock x:Name="SignInText" Style="{StaticResource BodyTextBlockStyle}" Text="Checking Sign In..." />
            <Button x:Name="SignInButton" Click="SignInClick" Content="Sign in" Visibility="Collapsed"/>
            <Button x:Name="SignOutButton" Click="SignOutClick" Content="Sign out" Visibility="Collapsed"/>
            <TextBlock x:Name="SignOutUnavailableText" Style="{StaticResource BodyTextBlockStyle}" Text="Cannot Sign Out" Visibility="Collapsed"/>
        </StackPanel>
    </StackPanel>
</SettingsFlyout>
